<?php
include_once('functions/main_functions.php');
	page_head();
?>
		<div id="main">
			<div id="content">
				<p>Welcome to the Option Pricing Home Page!</p>
				<p>Top Most Popular Stocks</p>
				<?php
				include_once('classes/stock.class.php');
				$stock = new Stock();
				$results = $stock->GetMostPopular();
				$count = 0;
				foreach($results as $item) {
					$count+=1;
					echo "$count: " . $item['stock_name'];
					echo "<br>";
				}
				?>
			</div>
		</div>
<?php
	page_foot();
?>